import Vue from 'vue';
import App from './App';
import conf from './conf/config.js';
import TabBar from './components/tabbar/tabbar.vue' 
// main.js


import *  as api  from './services/mock_request.js'
Vue.prototype.$api = api

import store from './store/index'
Vue.prototype.store = store

import vc from './core/vcFramework.js'
// 小程序全局分享设置
import share from './common/mixin/shareMixin.js'
Vue.mixin(share)

 
Vue.config.productionTip = false;

Vue.prototype.vc = vc;  
Vue.prototype.imgUrl = conf.imgUrl;

//注册全局组件  
Vue.component('tabBar', TabBar);  
App.mpType = 'app';

const app = new Vue({
    ...App,
	store
});
app.$mount();
